package com.gqs.bookstore.service;

import java.sql.SQLException;

import com.gqs.bookstore.vo.Users;

public interface UserService {
	/**
	 * 进行注册【也就是增加用户】
	 * @throws SQLException 
	 */
	Users regist(Users users) throws SQLException;
	
	
	/**
	 * 进行	认证/登录
	 * @param account
	 * @param password
	 * @return
	 * @throws SQLException 
	 */
	Users auth(String account, String password) throws SQLException;
}
